﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using MebAppMarketplace.Model;

namespace MebAppMarketplace.Biz
{
    public class ApplicationDatabase : DbContext
    {
        public ApplicationDatabase(DbContextOptions<ApplicationDatabase> options) : base(options)
        {

        }
        public DbSet<Model.App> Apps { get; set; }
        public DbSet<Model.AppEvent> MebAppMarketplace { get; set; }
        public DbSet<Model.User> AppUsers { get; set; }
        public DbSet<Model.UserApp> UserApps { get; set; }
        public DbSet<Model.UserRegistrationRequest> UserRegistrationRequest { get; set; }
        public DbSet<Model.UserWallet> UserWallet { get; set; }
        public DbSet<Model.UserWalletHistory> UserWalletHistories { get; set; }
        public DbSet<Model.AppVersion> AppVersions { get; set; }

        public DbSet<Developer> Developers { get; set; }
        public DbSet<AppBase> AppBases { get; set; }

    }
}
